<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let i = [1, 5, 8, 88, 100, 23]
      let ii = [2, 124, 66, 77, 88, 999]
     function fn(){
      let arr = [...i, ...ii]
      return Math.max(...arr)
     }
     let oo=fn()
    console.log(oo);
    </script>
  </body>
</html>
